﻿namespace CV.Entities.Models
{
    using System.ComponentModel.DataAnnotations;

    public class LoginModel
    {
        [Required]
        [StringLength(20)]
        [Display(Name = "Login", ResourceType = typeof(CV.Resources.Model.LoginModel))]
        public string Login { get; set; }

        [Required]
        [Display(Name = "Password", ResourceType = typeof(CV.Resources.Model.LoginModel))]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        public bool PersistentCookie { get; set; }
        public string ErrorMessage { get; set; }
    }
}
